package com.ayun.member.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * @author 斌叔
 * @description: 会员实体类 Member
 * @create 2022-05-08 23:00
 */
@Accessors(chain = true)
@Data
@TableName("tb_member")
public class Member implements Serializable {
    private static final long serialVersionUID = 1L;
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /*** 会员卡号 */
    private String cardNum;
    /*** 会员名字 */
    private String name;
    /*** 生日 */
    private Date birthday;
    /*** 手机号 */
    private String phone;
    /*** 可用积分 */
    private Integer integral;
    /*** 可用金额 */
    private Double money;
    /*** 支付类型（'1'现金, '2'微信, '3'支付宝, '4'银行卡） */
    private String payType;
    /*** 会员地址 */
    private String address;
}
